package com.fit.dao.scientificField;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.ScientificField;;

public interface ScientificFieldDAO {

	@CommitAfter
	public boolean save(ScientificField newScientificField);

	@CommitAfter
	public boolean delete(ScientificField scientificField);

	@CommitAfter
	public boolean update(ScientificField scientificField);

	public List<ScientificField> findAll();
	
	public ScientificField findByID(Long id);

	@CommitAfter
	public boolean deleteByID(Long id);
}
